package com.github.zhijieqing.socket.cluster.common.channel;

import com.github.zhijieqing.socket.cluster.common.domain.SocketMsg;
import com.github.zhijieqing.socket.cluster.common.manager.SocketManager;
import com.github.zhijieqing.socket.cluster.common.node.SocketServerNode;

public interface MsgChannel {
    void init(SocketManager socketManager);
    void sendMsgToNode(SocketServerNode socketServerNode, SocketMsg msg);
    void sendMsgToApp(SocketServerNode socketServerNode, SocketMsg msg);
}
